package com.kitty.listener.event;

import com.kitty.game.role.model.Role;
import com.kitty.listener.BasePlayerEvent;
import com.kitty.listener.EventType;
import lombok.Getter;

/**防御有改变 事件*/
@Getter
public class DefenseChangeEvent extends BasePlayerEvent {
    private Role role;
    /**改变后的防御值*/
    private int defense;

    public DefenseChangeEvent(EventType evtType, Role role, int defense) {
        super(evtType, role);
        this.role = role;
        this.defense = defense;
    }
}
